<!DOCTYPE html>
<html>
<head>
<title>订单管理系统-登陆</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
<script type="text/javascript" src="img/js/main.js"></script>
</head>
<style>
body {
		padding-top: 40px;
		padding-bottom: 40px;
		background-color: #f5f5f5;
}
form {
		max-width: 300px;
		padding: 19px 29px 29px;
		margin: 0 auto 20px;
		background-color: #fff;
		border: 1px solid #e5e5e5;
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
		-moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
		box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
</style>
<body>
<script src="bootstrap/js/jquery.min.js"></script>
<script src="bootstrap/js/bootstrap.min.js"></script>
<div class="container">
<div class="row">
	<div class="span12" style="text-align: center;"><h1>订单管理系统</h1></div>
</div>

<div class="row">
	<div class="span3"></div>
	<div class="span6">
		<div class="row"  style="text-align: center;">
			<form action="<{spUrl c=login a=denglu}>" method="post" class="form-inline">
			   用户名：<input name="username" type="text" id="username"><br/><br/>
			   密&nbsp;&nbsp;&nbsp;码：<input name="password" type="password" id="inputPassword"><br/><br/>
			   验证码：<input name="randnum" type="text" id="randnum" style="width:103px;">
			   <img src="?c=login&a=getCode">
			   <br/><br/>
				<button type="submit" class="btn btn-primary">登录</button>&nbsp;&nbsp;
				<button type="button" class="btn" onclick="register()">注册</button>
			</form>
		</div>
	</div>
	<div class="span3"></div>
</div>

<{if $tpl_msg != ''}>
<div class="row">
		<div class="span3"></div>
		<div class="span6">
				<p class="text-error" style="text-align: center;">
						提醒:<{$tpl_msg}>
				</p>
		</div>
		<div class="span3"></div>
</div>
<{/if}>

<div class="row">
	<div class="span12" style="text-align: center;">Wrote By @<a href="http://web101.taobao.com">淘宝小赢家</div>
</div>
</div>
</body>
</html>